//
//  NetworkHelper.h
//  ZhiHui
//
//  Created by qskj-ios on 2018/5/10.
//  Copyright © 2018年 com.qiansheng. All rights reserved.
//

#import <Foundation/Foundation.h>

#define Url_main @"http://guanjia.zhhome.com/android/"

typedef void(^RequestBlock)(id info, NSError* error);

@interface NetworkHelper : NSObject


+ (void)apiPost:(NSString *)method parameters:(NSMutableDictionary *)parameters completion:(RequestBlock)completion;

+ (void)apiGet:(NSString *)method parameters:(NSMutableDictionary *)parameters completion:(RequestBlock)completion;

@end
